import request from "../utils/request";
const DO_LOGIN = (code) => {
	return request({
		baseUrl: 'https://env-00jxham84tk1.dev-hz.cloudbasefunction.cn/',
		url: 'login',
		method: 'get',
		data: {
			code
		}
	})
}
export const ACCESS_LOGIN = (data) => {
	return request({
		url: 'staff/login',
		method: 'post',
		data
	})
}
export const GET_CAPTCHA = () => {
	return request({
		url: 'user/captcha',
		method:'get'
	})
}
export default DO_LOGIN